package com.itcast.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * 测试jsp页面跳转功能
 */
@Controller
public class PageController extends BaseController{
    @RequestMapping(value = "/findAllTest",method = {RequestMethod.GET,RequestMethod.POST})
    public String findAllTest(){
        System.out.println("变现层:查询所有账户...");
        return "/list";
    }
}